<template>
<div class="pad20">
    <div class=" clearfix">
        <span>
            <span>制定日期</span>
            <el-date-picker class="left10" v-model="daterange" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期">
            </el-date-picker>
        </span>
        <span class="left20">
            <span>状态</span>
            <el-select class="left10" v-model="value" placeholder="请选择">
                <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
                </el-option>
            </el-select>
        </span>
        <span class="left20">
            <span>其他</span>
            <el-input style="width: 220px" class="left10" v-model="input" placeholder="姓名/身份证/计划编号/制定人"></el-input>
        </span>
        <el-button type="primary">搜索</el-button>
        <el-button type="primary" class="right">新增</el-button>
    </div>
    <el-table ref="multipleTable" class="top20" :data="list" fit highlight-current-row style="width: 100%;" header-row-class-name="tableHeader">
        <el-table-column label="计划编号" prop="a" align='center'></el-table-column>
        <el-table-column label="姓名" prop="b" align='center'></el-table-column>
        <el-table-column label="身份证" prop="c" align='center'></el-table-column>
        <el-table-column label="制定日期" prop="d" align='center'></el-table-column>
        <el-table-column label="制定人" prop="e" align='center'></el-table-column>
        <el-table-column label="状态" prop="f" align='center'></el-table-column>
        <el-table-column label="操作" prop="isEnable" align='center' width='200'>
            <template slot-scope="{row,$index}">
                <el-button type="primary">查看</el-button>
                <el-button type="danger" class="left10">删除</el-button>
            </template>
        </el-table-column>
    </el-table>
    <div class="align-right top20">
        <el-pagination v-show="total>0" :total="total" :current-page.sync="originalQuery.pageNumber" :page-size="originalQuery.pageSize" background layout="prev, pager, next" @current-change="getList" @size-change="sizeChange" />
    </div>
</div>
</template>

<script>
export default {
    components: {},
    data() {
        return {
            daterange: '',
            list:[
                {a: '2020071212131001', b: '李明汉', c: '420103195710042115', d: '2020-07-12', e: '章汉夫', f: '已签名确认'},
                {a: '2020071012131002', b: '陈晓珍', c: '420103195610042165', d: '2020-07-10', e: '余桂英', f: '已签名确认'},
                {a: '2020061712181012', b: '潘建宝', c: '420104193507023331', d: '2020-06-17', e: '向艳', f: '已签名确认'},
                {a: '2020061512181013', b: '程浦阳', c: '420102193301242437', d: '2020-06-15', e: '刘庆梅', f: '已签名确认'},
                {a: '2020061312181014', b: '周细华', c: '420102194506232029', d: '2020-06-13', e: '祝爱珍', f: '已签名确认'},
                {a: '2020051312181018', b: '张厚英', c: '420102195006232021', d: '2020-05-13', e: '杜玉华', f: '已签名确认'},
                {a: '2020051112181014', b: '胡维范', c: '420104193707023339', d: '2020-05-11', e: '凌正富', f: '已签名确认'},
                {a: '2020051012131003', b: '李惠华', c: '420103195510042165', d: '2020-05-10', e: '王业道', f: '已签名确认'},
            ],
            total: 4000,
            originalQuery: {
                pageNumber: 1,
                pageSize: 20,
            },
            input: '',
            value: '',
            options: [{
                    label: '已签名确认',
                    value: 1
                },
                {
                    label: '未确认',
                    value: 2
                },
            ]
        };
    },
    computed: {},
    watch: {},
    created() {},
    mounted() {},
    methods: {
        sizeChange(){

        },
        getList(){
            
        }
    }
};
</script>

<style scoped>

</style>
